package other;

import test.Test01;

/**
 * Created by Shinelon on 2016/9/23.
 */
public class Test03 extends Test01 {

    private int a, b, c;

    public static double x, y, z;

    public static void main(String[] args) {
//        Test03 test03 = new Test03();
//        int s = test03.add(1, 2, 3, 5, 6 ,8, 9);
//
//        System.out.println(s);

//        Test03 test03 = new Test03();
//        test03.piu();



    }

    @Override
    public void piu() {
        super.piu();
        System.out.println("piu piu piu ...");
    }

    public void shou () {
            System.out.println(i);
            System.out.println(t);
    }

    public int add(int a, int b) {
        return a + b;
    }

    public int add(int a, int b, int c) {
        return a + b + c;
    }

    public static int add(int... args) {
        int result = 0;
        for (int j = 0; j < args.length; j++) {
            result += args[j];
        }
        return result;
    }
}
